package club.janna.jrpc.remoting;

import java.net.URI;

/**
 * @author Panbo.Guo
 */
public interface Client {

    /**
     * 连接
     * @param uri
     * @param codec
     * @return
     */
    Channel connect(URI uri, Codec codec, Handler handler);
}
